package com.zxl.common.model.bo.shopping;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zxw
 * @date 2023/4/4
 */
@Data
public class ShoppingGoodsNum {
    @ApiModelProperty("商品编号")
    @NotBlank(message = "商品编号为空")
    private String goodsCode;

    @ApiModelProperty("商品数量")
    @NotBlank(message = "商品数量为空")
    private Integer goodsNum;

}
